const router = require('koa-router')(),
      typeController = require('../controller/type'),
      loginCheck = require('../middlewares/logincheck');
router.prefix('/type');
router.post('/get_type',typeController.getTypeC);
router.post('/create_type',typeController.createTypeC);
router.post('/destroy_type',typeController.destroyTypeC);
router.post('/update_type',typeController.updateTypeC);
module.exports = router; 